Adwaita: uniform paddings on image-buttons
authorLapo Calamandrei <calamandrei@gmail.com>
Thu, 3 Mar 2016 15:12:20 +0000 (16:12 +0100)
committerLapo Calamandrei <calamandrei@gmail.com>
Thu, 3 Mar 2016 15:12:20 +0000 (16:12 +0100)
fixes https://bugzilla.gnome.org/show_bug.cgi?id=762811

gtk/theme/Adwaita/_common.scss
gtk/theme/Adwaita/gtk-contained-dark.css
gtk/theme/Adwaita/gtk-contained.css

index 7b77af3ff40ae50f8dc6744cc7cd0b69b52a0393..e96d83c8028906085e58c850cbdd9f742797c47c 100644 (file)
@@ -446,9 +446,9 @@ button {
     }
 
     &.image-button {
-      min-width: 32px;
-      padding-left: 0;
-      padding-right: 0;
+      min-width: 24px;
+      padding-left: 4px;
+      padding-right: 4px;
     }
 
     &.text-button {
index 1875a4d3d6d42573329c649ff39c4e19546fff92..fa58a1484e341cfb1e97eb9b91d9b92a2e931d64 100644 (file)
@@ -480,9 +480,9 @@ notebook > header > tabs > arrow, headerbar button.titlebutton,
       box-shadow: inset 0 1px rgba(255, 255, 255, 0); }
   notebook > header > tabs > arrow.image-button, headerbar button.image-button.titlebutton,
   .titlebar button.image-button.titlebutton, button.image-button {
-    min-width: 32px;
-    padding-left: 0;
-    padding-right: 0; }
+    min-width: 24px;
+    padding-left: 4px;
+    padding-right: 4px; }
   notebook > header > tabs > arrow.text-button, headerbar button.text-button.titlebutton,
   .titlebar button.text-button.titlebutton, button.text-button {
     padding-left: 16px;
index e6b255874fd3328a39c05386096376659b2df0c3..664f1bf7df720389226f278f84122eea085c440c 100644 (file)
@@ -480,9 +480,9 @@ notebook > header > tabs > arrow, headerbar button.titlebutton,
       box-shadow: inset 0 1px rgba(255, 255, 255, 0); }
   notebook > header > tabs > arrow.image-button, headerbar button.image-button.titlebutton,
   .titlebar button.image-button.titlebutton, button.image-button {
-    min-width: 32px;
-    padding-left: 0;
-    padding-right: 0; }
+    min-width: 24px;
+    padding-left: 4px;
+    padding-right: 4px; }
   notebook > header > tabs > arrow.text-button, headerbar button.text-button.titlebutton,
   .titlebar button.text-button.titlebutton, button.text-button {
     padding-left: 16px;